package com.bdzl.biz.dao;

import com.bdzl.pub.entity.loan.OrderVisitorDO;
import com.bdzl.pub.vo.loan.OrderVisitorVO;

import java.util.List;
import java.util.Map;

/**
 * 融资租赁订单家访员表
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:02:10
 */
public interface OrderVisitorDao {

	OrderVisitorDO get(Integer visitorId);

	List<OrderVisitorDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(OrderVisitorDO orderVisitor);

	int update(OrderVisitorDO orderVisitor);

	int remove(Integer visitor_id);

	int batchRemove(Integer[] visitorIds);

	/**
	 * @Description: TODO 根据订单号获取家访数据
	 * @param odrNo 订单号
	 * @return: com.bdzl.pub.vo.loan.OrderVisitorVO
	 * @Author: Ming
	 * @Date: 2021/5/26 10:51
	 */
	OrderVisitorVO getByOdrNo(String odrNo);
}
